package com.bwie.system.service.impl;

import com.bwie.common.domain.pojo.User;
import com.bwie.system.mapper.SystemMapper;
import com.bwie.system.service.SystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Gd
 * @package: com.bwie.system.service.impl
 * @Project: zg5_goods
 * @Name: SystemServiceImpl
 * @Date: 2024/4/29 16:25
 */
@Service
public class SystemServiceImpl implements SystemService {

    @Autowired
    private SystemMapper systemMapper;

    /**
     * 根据用户名查询用户信息
     * @param useName
     * @return
     */
    @Override
    public User findByName(String useName) {
        return systemMapper.findByName(useName);
    }
}
